runtime.mheap.allArenas (field)
19 uses
runtime (current package)
malloc.go#L765: if len(h.allArenas) == cap(h.allArenas) {
malloc.go#L766: size := 2 * uintptr(cap(h.allArenas)) * goarch.PtrSize
malloc.go#L774: oldSlice := h.allArenas
malloc.go#L775: *(*notInHeapSlice)(unsafe.Pointer(&h.allArenas)) = notInHeapSlice{newArray, len(h.allArenas), int(size / goarch.PtrSize)}
malloc.go#L776: copy(h.allArenas, oldSlice)
malloc.go#L782: h.allArenas = h.allArenas[:len(h.allArenas)+1]
malloc.go#L783: h.allArenas[len(h.allArenas)-1] = ri
mcheckmark.go#L42: for _, ai := range mheap_.allArenas {
mgc.go#L1557: mheap_.sweepArenas = mheap_.allArenas
mgc.go#L1616: arenas := mheap_.allArenas
mgcmark.go#L96: mheap_.markArenas = mheap_.allArenas[:len(mheap_.allArenas):len(mheap_.allArenas)]
mheap.go#L173: allArenas []arenaIdx
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |